package com.yanghang.service;

import com.github.pagehelper.PageInfo;
import com.yanghang.entity.Computer;

import java.util.List;

public interface ComputerService  {
    public List<Computer>selectAllComputer();
    public List<Computer>selectComputerByLike(String name);
    public List<Computer>selectByPrice(double minPrice,double maxPrice);
    public PageInfo<Computer>selectByPage(int pageNum, int pageSize);
}
